#ifndef hal_eeprom_H
#define hal_eeprom_H

#include <stdint.h>
#include <cfg_param.h>
#include <hal_configer.h>

typedef struct
{
    uint32_t Position[MOTOR_MAX_ERROR_CHANNEL][MOTOR_MAX_NUM];
    uint32_t StepState[MOTOR_MAX_ERROR_CHANNEL][MOTOR_MAX_NUM];
} EEPromInformSt;

void hal_AllMotorEEPromInformInit();

void hal_AllMotorEEPromInformClear();

void hal_SingleMotorEEPromInformWrite(uint8_t groupid, uint8_t motor_num, EEpStgTypeEn EEPromType);

#endif
